/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.sapra.dao;


/**
 *
 * @author ppratsc
 */

public class Banco {

    private Integer bancoId;
    private String nombre;
    private double costoReposicion;



    public Banco(Integer id) {
        this.bancoId = id;
    }

    public Banco() {
        
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Banco other = (Banco) obj;
        if (this.bancoId != other.bancoId && (this.bancoId == null || !this.bancoId.equals(other.bancoId))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        return hash;
    }
    

    

    @Override
    public String toString() {
        return nombre;
    }

    public Integer getbancoId() {
        return bancoId;
    }

    public void setbancoId(Integer bancoId) {
        this.bancoId = bancoId;
    }

    public double getcostoReposicion() {
        return costoReposicion;
    }

    public void setcostoReposicion(double costoReposicion) {
        this.costoReposicion = costoReposicion;
    }

    public String getnombre() {
        return nombre;
    }

    public void setnombre(String nombre) {
        this.nombre = nombre;
    }


}
